<html>
<body>
<%@page import="org.apache.shiro.subject.Subject"%>
<%@page import="org.apache.shiro.SecurityUtils"%>
<%
Subject currentUser = SecurityUtils.getSubject();
if(currentUser!=null){
	out.println(currentUser.getPrincipal());
}
%>
<h2>Hello Demo!</h2>
<br>
<a href="/security.jsp">goto security!</a>
</body>
</html>
